using System;

namespace KafkaFlow;

/// <summary>
/// A log handler that does nothing
/// </summary>
public class NullLogHandler : ILogHandler
{
    /// <inheritdoc />
    public void Error(string message, Exception ex, object data)
    {
        // Do nothing
    }

    /// <inheritdoc />
    public void Warning(string message, object data)
    {
        // Do nothing
    }

    /// <inheritdoc />
    public void Warning(string message, Exception ex, object data)
    {
        // Do nothing
    }

    /// <inheritdoc />
    public void Info(string message, object data)
    {
        // Do nothing
    }

    /// <inheritdoc />
    public void Verbose(string message, object data)
    {
        // Do nothing
    }
}
